Skip to content

docs: publish the two APIs to PyPI; retry locks the CDN has not caught up with - #34

Merged
hugobessa merged 1 commit into
mainfrom
docs/publish-python-apis
Oct 9, 2026
Merged

hugobessa merged 1 commit into
mainfrom
docs/publish-python-apis

Conversation

@hugobessa

Copy link
Copy Markdown
Collaborator

What

vintasend-api and vintasend-templates-management-api become PyPI packages that a host can embed in its own Django project or run on its own:

This PR holds the superproject side:

  • Release notes: an Unreleased entry for both APIs.
  • Docs: the README, AGENTS.md, the release-package skill and the release-script docstrings no longer call the two APIs tag-only. The scripts themselves need no change: they already wait on PyPI for any package that has a publish.yml.
  • scripts/lock_subpackages.py: a poetry lock that fails with "doesn't match any versions" now clears Poetry's PyPI cache and retries, a minute apart, up to six times. In 3.4.0 all of wave 2 failed that way two minutes after vintasend went live, because the CDN edge Poetry reached still served the old index page. The script's dry run works. The retry itself only triggers against a fresh release.

Merge the two API PRs first. The first PyPI publish of both APIs is the lockstep 3.5.0 release.

🤖 Generated with Claude Code

…w release

vintasend-api and vintasend-templates-management-api gain publish.yml and
become embeddable packages in their own PRs. The release scripts already wait
for any package with a publish workflow, so only the text calling them
tag-only changes here, plus an Unreleased release-notes entry.

lock_subpackages.py now clears Poetry's PyPI cache and retries a lock that
fails with "doesn't match any versions", which is how all of wave 2 failed
in 3.4.0 while PyPI's CDN still served the old index page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov-commenter

codecov-commenter commented Oct 9, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.04%. Comparing base (9266c9e) to head (ab98db6).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #34   +/-   ##
=======================================
  Coverage   86.04%   86.04%           
=======================================
  Files          37       37           
  Lines        3117     3117           
  Branches      438      438           
=======================================
  Hits         2682     2682           
  Misses        307      307           
  Partials      128      128           
Flag Coverage Δ
python-3.10 85.98% <ø> (ø)
python-3.11 85.98% <ø> (ø)
python-3.12 85.98% <ø> (ø)
python-3.13 85.98% <ø> (ø)
python-3.14 85.68% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hugobessa
hugobessa merged commit 849d95e into main Oct 9, 2026
6 checks passed
@hugobessa
hugobessa deleted the docs/publish-python-apis branch October 9, 2026 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants